package cn.stylefeng.guns.modular.wordstudy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 考题信息
 * </p>
 *
 * @author 
 * @since 2020-05-01
 */
@TableName("thesis_rmb_word_test")
public class WordTest implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 问题
     */
    @TableField("question")
    private String question;

    /**
     * 备选答案a
     */
    @TableField("answer_a")
    private String answerA;

    /**
     * 备选答案b
     */
    @TableField("answer_b")
    private String answerB;

    /**
     * 备选答案c
     */
    @TableField("answer_c")
    private String answerC;

    /**
     * 正确答案
     */
    @TableField("answer_ok")
    private String answerOk;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswerA() {
        return answerA;
    }

    public void setAnswerA(String answerA) {
        this.answerA = answerA;
    }

    public String getAnswerB() {
        return answerB;
    }

    public void setAnswerB(String answerB) {
        this.answerB = answerB;
    }

    public String getAnswerC() {
        return answerC;
    }

    public void setAnswerC(String answerC) {
        this.answerC = answerC;
    }

    public String getAnswerOk() {
        return answerOk;
    }

    public void setAnswerOk(String answerOk) {
        this.answerOk = answerOk;
    }

    @Override
    public String toString() {
        return "WordTest{" +
        "id=" + id +
        ", question=" + question +
        ", answerA=" + answerA +
        ", answerB=" + answerB +
        ", answerC=" + answerC +
        ", answerOk=" + answerOk +
        "}";
    }
}
